package cn.xd.learn.itstack.dbatis.config;

import lombok.Data;

import java.sql.Connection;
import java.util.Map;

/**
 * @Classname Configuration
 * @Description 配置类
 * @Date 2022/4/22 下午5:30
 * @Created by lvxiaodong
 */
@Data
public class Configuration {

    /**
     * 链接
     */
    protected Connection connection;
    /**
     * 数据源
     */
    private Map<String,String> dataSource;

    /**
     * mapper的element元素
     */
    private Map<String,XNode> mapperElement;
}
